package com.example.zyl.api.entity.dto;

import com.example.zyl.api.entity.SysDatabase;
import com.example.zyl.common.query.query.BaseQueryDto;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 数据库信息表(SysDatabase)Dto实体类
 *
 * @author zyl
 * @since 2024-12-05 11:39:22
 */
@Accessors(chain = true)
public class SysDatabaseDto implements BaseQueryDto<SysDatabase>, Serializable {
    
    private static final long serialVersionUID = -49000578793529771L;

    /** 
     * 主键id
     */
    private Long id;
    /** 
     * 数据库名称（英文名称）
     */
    private String dbName;
    /** 
     * jdbc的驱动类型
     */
    private String driverClassName;
    /** 
     * 数据库连接的账号
     */
    private String username;
    /** 
     * 数据库连接密码
     */
    private String password;
    /** 
     * jdbc的url
     */
    private String url;
    /** 
     * 备注，摘要
     */
    private String remarks;
    /** 
     * 创建人
     */
    private String createUser;
    /** 
     * 创建时间
     */
    private LocalDateTime createTime;
    /** 
     * 更新人
     */
    private String updateUser;
    /** 
     * 更新时间
     */
    private LocalDateTime updateTime;
    /** 
     * 是否删除（0：未删除，1：已删除）
     */
    private Integer isDelete;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getDriverClassName() {
        return driverClassName;
    }

    public void setDriverClassName(String driverClassName) {
        this.driverClassName = driverClassName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
}

